package b4.config
{
	public class CreatureConfig extends BasicObjConfig
	{
		//外观
		public var appearance:int;
		//五行
		public var element:int;
		//生命
		public var health:int;
		//体力
		public var vitality:int;
		//攻击
		public var attack:int;
		//防御
		public var armor:int;
		//魔法
		public var magic:int;
		//敏捷
		public var agility:int;
		//闪避
		public var dodge:int;
		//士气
		public var moral:int;
		
		public function CreatureConfig(itemStrs:Array)
		{
			super(itemStrs);
			this.appearance = parseInt(itemStrs[4]);
			this.element = itemStrs[5];
			this.health = itemStrs[6];
			this.vitality = parseInt(itemStrs[7]);
			this.attack = parseInt(itemStrs[8]);
			this.armor = itemStrs[9];
			this.magic = itemStrs[10];
			this.agility = parseInt(itemStrs[11]);
			this.dodge = itemStrs[12];
			this.moral = parseInt(itemStrs[13]);
		}
		
	}
}